/**
 * 进行全局组件的挂载
 */

import PageTools from './PageTools'
import UploadExcel from './UploadExcel'
import UploadImg from './UploadImg'
import ImageHolder from './ImageHolder'
import Lang from './Lang'
import ScreenFull from './ScreenFull'

export default {
  install(Vue) {
    // 注册工具栏组件
    Vue.component('PageTools', PageTools)
    // 注册导入excel组件
    Vue.component('UploadExcel', UploadExcel)
    // 注册图片上传
    Vue.component('UploadImg', UploadImg)
    // 注册默认图片
    Vue.component('ImageHolder', ImageHolder)
    // 多语言切换
    Vue.component('Lang', Lang)
    // 全屏切换
    Vue.component('ScreenFull', ScreenFull)
  }
}
